/*
 * @Author: SingleBiu
 * @Date: 2025-10-28 21:57:53
 * @LastEditors: SingleBiu
 * @LastEditTime: 2025-10-29 20:04:23
 * @Description: file content
 */
package routers

import (
	"es_user/controllers"

	"github.com/beego/beego/v2/server/web"
)

func init() {
	web.Router("/", &controllers.UserController{}, "get:Get")
	web.Router("/login", &controllers.UserController{}, "post:Login")
	web.Router("/dashboard", &controllers.UserController{}, "get:Dashboard")
	web.Router("/api/users", &controllers.UserController{}, "get:GetAllUsers")
	web.Router("/logout", &controllers.UserController{}, "get:Logout")
}
